package com.itheima.exerciseTest.method01_09.method5;
/*
    羊类
    吃饭（羊啃草）
*/
public class Sheep extends Animal {
    public Sheep() {
    }

    public Sheep(int age) {
        super(age);
    }

    @Override
    public void drinking() {
        System.out.println("喝水");
    }

    @Override
    public void eat() {
        System.out.println("羊啃草");
    }

}
